package com.itbuka.vip.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 会员充值记录表
 * @TableName vip_recharge_records
 */
@TableName(value ="vip_recharge_records")
@Data
public class VipRechargeRecords implements Serializable {
    /**
     * 充值记录id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 会员名称
     */
    @TableField(value = "vip_name")
    private String vipName;

    /**
     * 订单号
     */
    @TableField(value = "order_num")
    private String orderNum;

    /**
     * 充值金额
     */
    @TableField(value = "recharge_money")
    private String rechargeMoney;

    /**
     * 充值方式
     */
    @TableField(value = "recharge_way")
    private String rechargeWay;

    /**
     * 支付状态（0未支付1待发货2已发货3已完成）
     */
    @TableField(value = "pay_status")
    private Integer payStatus;

    /**
     * 充值时间
     */
    @TableField(value = "recharge_time")
    private Date rechargeTime;

    /**
     * 支付时间
     */
    @TableField(value = "pay_time")
    private Date payTime;

    /**
     * 删除标识（0未删除 1已删除）
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}